<?xml version="1.0" encoding="UTF-8" ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
      xmlns:ui="http://java.sun.com/jsf/facelets"
      xmlns:h="http://java.sun.com/jsf/html"
      xmlns:f="http://java.sun.com/jsf/core">

    <ui:composition template="/template.xhtml">
        <ui:define name="title">
            <h:outputText value="#{bundle.ViewCareersTitle}"></h:outputText>
        </ui:define>
        <ui:define name="body">
            <h:panelGroup id="messagePanel" layout="block">
                <h:messages errorStyle="color: red" infoStyle="color: green" layout="table"/>
            </h:panelGroup>
            <h:form>
                <h:panelGrid columns="2">
                    <h:outputText value="#{bundle.ViewCareersLabel_CId}"/>
                    <h:outputText value="#{careersController.selected.CId}" title="#{bundle.ViewCareersTitle_CId}"/>
                    <h:outputText value="#{bundle.ViewCareersLabel_name}"/>
                    <h:outputText value="#{careersController.selected.name}" title="#{bundle.ViewCareersTitle_name}"/>
                    <h:outputText value="#{bundle.ViewCareersLabel_email}"/>
                    <h:outputText value="#{careersController.selected.email}" title="#{bundle.ViewCareersTitle_email}"/>
                    <h:outputText value="#{bundle.ViewCareersLabel_phoneNo}"/>
                    <h:outputText value="#{careersController.selected.phoneNo}" title="#{bundle.ViewCareersTitle_phoneNo}"/>
                    <h:outputText value="#{bundle.ViewCareersLabel_mobileNo}"/>
                    <h:outputText value="#{careersController.selected.mobileNo}" title="#{bundle.ViewCareersTitle_mobileNo}"/>
                    <h:outputText value="#{bundle.ViewCareersLabel_jobReference}"/>
                    <h:outputText value="#{careersController.selected.jobReference}" title="#{bundle.ViewCareersTitle_jobReference}"/>
                    <h:outputText value="#{bundle.ViewCareersLabel_experience}"/>
                    <h:outputText value="#{careersController.selected.experience}" title="#{bundle.ViewCareersTitle_experience}"/>
                    <h:outputText value="#{bundle.ViewCareersLabel_comments}"/>
                    <h:outputText value="#{careersController.selected.comments}" title="#{bundle.ViewCareersTitle_comments}"/>
                    <h:outputText value="#{bundle.ViewCareersLabel_cvUrl}"/>
                    <h:outputText value="#{careersController.selected.cvUrl}" title="#{bundle.ViewCareersTitle_cvUrl}"/>
                </h:panelGrid>
                <br />
                <h:commandLink action="#{careersController.destroyAndView}" value="#{bundle.ViewCareersDestroyLink}"/>
                <br />
                <br />
                <h:commandLink action="Edit" value="#{bundle.ViewCareersEditLink}"/>
                <br />
                <h:commandLink action="#{careersController.prepareCreate}" value="#{bundle.ViewCareersCreateLink}" />
                <br />
                <h:commandLink action="#{careersController.prepareList}" value="#{bundle.ViewCareersShowAllLink}"/>
                <br />
                <br />
                <h:commandLink value="#{bundle.ViewCareersIndexLink}" action="/index" immediate="true" />

            </h:form>
        </ui:define>
    </ui:composition>

</html>
